package com.paic.mhis.hcpms.trust.util;

/**
 * @Description 常量类
 * @date 2015/01/29
 */
public class TrustConstants {

	public static final String STATUS_WAIT_MODIFIED = "N2015001";// 待修改

	public static final String STATUS_WAIT_AUDIT = "N2015002";// 待审核

	public static final String STATUS_WAIT_APPROVE = "N2015003";// 待审批

	public static final String STATUS_CLOSED = "N2015004";// 已结案

	public static final String CASE_TYPE = "03";// 医务人员记分录入

	public static final String FLOW_START = "START";
	public static final String FLOW_ING = "ING";
	public static final String FLOW_END = "END";
	public static final String FLOW_STOP = "STOP";
	public static final String FLOW_START_0 = "0";
	public static final String FLOW_END_1 = "1";
	public static final String GROUP_TYPE = "02";// 组权限
	public static final String PERSON_TYPE = "01";// 个人权限
	public static final String INTEGRITY_MANAGE_ROLE = "INTEGRITY_MANAGE_ROLE";// 个人分析岗角色
	public static final String INTEGRITY_APPROVER_ROLE = "INTEGRITY_APPROVER_ROLE";// 个人审批岗角色
	public static final String INTEGRITY_AUDITING_ROLE = "INTEGRITY_AUDITING_ROLE";// 个人审核岗角色

	public static final String IS_VALID_0 = "0";// 有效

	public static final String IS_VALID_1 = "1";// 失效

	public static final String ERROR_MSG_1 = "找不到下一节点";
	public static final String ERROR_MSG_2 = "找不到对应工作流";

	public static final String PROCESS_IN_POWER = "0";// 有操作权限
	public static final String PROCESS_OUT_POWER = "1";// 没有操作权限
	public static final String PROCESS_NOT_POWER = "2";// 操作节点已变更
	public static final String STATE_KEY = "state"; // 返回成功或失败的标志
	public static final String SUCCESS_STATE_VALUE = "0"; // 返回状态成功的值
	public static final String FAILURE_STATE_VALUE = "1"; // 返回状态失败的值
	public static final String MSG_KEY = "msg"; // 返回消息标志
	public static final String PROCESS_NOT_POWER_ERROR = "处理的节点已经变更!";
	public static final String PROCESS_OUT_POWER_ERROR = "同组其他人员已经对其进行操作!";
	public static final String SAVE_SUCCESS = "保存成功！";
	public static final String RESULT_BUSINESS_KEY = "taskNo";// 返回任务NO

	public static final String WARN_PROCESS_REST_SUCCESS = "撤销成功!";// 撤回成功
	public static final String BATCH_SAVE_SUCCESS = "批量操作成功！";//

	/**
	 * 暂存
	 */
	public static final String STATUS_SCRATCH = "2";
	/**
	 * 保存
	 */
	public static final String STATUS_SAVE = "1";
	/**
	 * 批量
	 */
	public static final String STATUS_BATCH = "3";
	/**
	 * 审核
	 */
	public static final String STATUS_AUDIT = "1";
	/**
	 * 审核批量
	 */
	public static final String STATUS_AUDITS = "2";
	/**
	 * 审批
	 */
	public static final String STATUS_APPROVE = "3";
	/**
	 * 审批批量
	 */
	public static final String STATUS_APPROVES = "4";

	/**
	 * 审核意见key（用户权限）
	 */
	public static final String AUDIT_OPINION = "AUDIT_OPINION";
	/**
	 * 审批意见key（用户权限）
	 */
	public static final String APPROVE_OPINION = "APPROVE_OPINION";

	/**
	 * 01同意
	 */
	public static final String INTEGRITY_OPINION_YES = "01";
	/**
	 * 02不同意
	 */
	public static final String INTEGRITY_OPINION_NO = "02";
	
	/**
	 * 01审核
	 */
	public static final String OPINION_AUDIT_TYPE = "01";
	
	/**
	 * 02审批
	 */
	public static final String OPINION_APPROVE_TYPE = "02";

	public static final String INTEGRITY_BUSINESS_POINT = "POINT";// 扣分的业务类型

	/**
	 * 扣分对象类型 (02 医生)
	 */
	public static final String TARGETTYPE_TWO = "02";
	/**
	 * 任务类型流程关系表
	 */
	public static final String TASK_TYPE = "04";

}
